package com.sfzy.service;

import com.github.pagehelper.PageInfo;
import com.sfzy.entity.ConsultantLevel;

import java.util.List;

public interface ConsultantLevelService {
    //增加
    int insertConsultantLevel(ConsultantLevel consultantLevel);
    //删除
    int deleteConsultantLevel(int id);
    //修改
    int updateConsultantLevel(ConsultantLevel consultantLevel);
    //根据id查询+级联
    ConsultantLevel selectConsultantLevel(int id);
    //分页+级联
    PageInfo<ConsultantLevel> selectAllConsultantLevel(ConsultantLevel consultantLevel, int pageNum, int pageSize);
}
